import Vue from 'vue'
import VueRouter from 'vue-router'
import Bar from '@/views/Bar'
import Line from '@/views/Line'
import Pie from '@/views/Pie'

Vue.use(VueRouter)

const routes = [
	{ path: '/', component: Bar },
	{ path: '/line', component: Line },
	{ path: '/pie', component: Pie },
]

const router = new VueRouter({
	routes
})

export default router
